package cn.school.workflow.vo;

import cn.school.common.BaseVO;
import cn.school.common.utils.SysUserUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("t_material_collect")
public class MaterialCollectVO extends BaseVO {

    private static final long serialVersionUID = -2535694473796596138L;

    @ApiModelProperty(value = "领用人")
    private String collectUser;

    @ApiModelProperty(value = "领用数量")
    private String collectNum;

    @ApiModelProperty(value = "物资名称")
    private String materialName;

    @ApiModelProperty(value = "物资编号")
    private String materialCode;

    @ApiModelProperty(value = "领用时间")
    private String collectTime;

    @ApiModelProperty(value = "是否归还")
    private String isRepay;

    @ApiModelProperty(value = "归还时间")
    private String repayTime;

    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private Integer pageNum;
    /**
     * 默认租户为当前登录人的租户
     */
    private String tenantId = SysUserUtils.getSysUser().getTenantId();
}
